import Vue from 'vue'
import './api/axios'
import App from './App.vue'
import router from './router'
import store from './store'

import moment from 'moment'
Vue.filter('date', function (value) {
  return moment(value).format('YYYY-MM-DD')
})
Vue.filter('dateTime', function (value) {
  return moment(value).format('YYYY-MM-DD HH:MM:SS')
})

// 使用vue add 引入的element-ui ↓
import ElementUI from 'element-ui'
import './assets/scss/index.scss'
Vue.use(ElementUI)


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
